<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>employee list</title>
</head>
<body>
<center>
	<h2>OGNL:员工信息</h2>
	<br/>
	<s:iterator value="#request.employees">
		<s:property value="username"/>
		<s:property value="password"/>
		<s:property value="gender"/>
		<br/>
	</s:iterator><br/>
	
	<br>
	<a href="<s:url action="manage_addUI" namespace="employee"/>">添加员工</a>
	
	<%-- <br/>
	JSTL/EL实现
	<br/>
	<c:forEach items="${employees}" var="employee">
		${employee.username}
		${employee.password}
		${employee.gender}
		<br/>
	</c:forEach> --%>

</center>
</body>
</html>